package com.xyoto.takeawayBusiness.enums;

/**
 * 商品类别枚举
 *
 */
public enum ShoppingTypeEnum implements Code {

    SHOPPING_TYPE_NO_EXIST(2000, "商品类别不存在"),
    SHOPPING_TYPE_ERROR(2001, "商品类别id错误");

    private int code;
    private String msg;

    ShoppingTypeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }


    @Override
    public int code() {
        return this.code;
    }

    @Override
    public String msg() {
        return this.msg;
    }

}
